package com.aaa.dao;

import java.util.List;
import java.util.Map;

/**
 * @create by: Teacher陈
 * @description: 角色dao接口
 * @create time: 2020/9/24 9:06
 */
public interface RoleDao {
    /**
     * @create by: Teacher陈
     * @description: 查询所有的角色
     * @create time: 2020/9/24 9:06
     * @return
     */
    List<Map<String,Object>> findAllRole();
    Integer saveRole(Map<String, String> map);
    boolean  saveRoleMenu(Integer roleId, Integer menuId);
}
